<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style>
		/* vw: 页面尺寸宽度的1% */
		/* vh: 页面尺寸高度的1% */
		*{margin:0;padding:0;}	
		.div1{
			width:1vw;
			height:1vh;
			background-color:#f99;
		}
	</style>
</head>
<body>
	<div class="div1"></div>
</body>
</html>